package com.shsmi.dsn.service;

import com.shsmi.dsn.domain.DsnTask;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface TaskService {
    Page<DsnTask> listAll(Example<DsnTask> example, Pageable pageable);

    DsnTask getById(Long id);

    DsnTask insert(DsnTask record);

    DsnTask update(DsnTask record);

    void delete(Long id);
}
